package com.ruicar.afs.cloud.channel.online.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.channel.online.entity.ChannelQuotaInfoTemp;
import com.ruicar.afs.cloud.channel.online.entity.ChannelRiskInfoTemp;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 额度维护vo类
 *
 * @author mingzhi.li
 */
@Data
public class ChannelBulkEditingQuotaInfoVo {



    /**
     * 额度类型;签放额度；先放后抵额度
     */
    private String quotaType;
    /**
     * 签放额度调整
     */
    private BigDecimal quotaSigning;
    /**
     * 额度金额
     */
    private BigDecimal quotaAmount;
    /**
     * 临时额度
     */
    private BigDecimal tempQuota;

    /**
     * 有效期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField(updateStrategy =  FieldStrategy.IGNORED)
    private Date validityTermEnd;

    /**
     * 占用额度
     */
    private BigDecimal occupiedQuota;
    /**
     * 剩余额度
     */
    private BigDecimal surplusQuota;
    /**
     * 是否控制额度
     */
    private String quotaControlSwitch;
    /**
     * 业务类型;
     */
    private String businessType;


    //渠道名称
    private String channelFullName;
    //渠道代码
    private String channelCode;


}
